package cn.wolfcode.luowowo.comment.repository;

import cn.wolfcode.luowowo.comment.domain.WendaComment;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WendaCommentRepository extends MongoRepository<WendaComment,String> {

    List<WendaComment> findByWendaId(String id);
}
